import {brw} from "../utils/brw";
import {By} from "selenium-webdriver";

export class Home_baidu extends brw{
    public static open_b(){
        return brw.driver.get('http://www.baidu.com')
}

    public static s_ipt(search_keys:string):any{
        return brw.driver.findElement(By.id('kw')).sendKeys(search_keys)
    }

	public static text(){
        return brw.driver.findElement(By.id('kw')).getAttribute('value')
    }
}
